package model;

public class Dorm
{
	private int id;
	private String number;
	private String d_sex;
	private int standard;
	private String remark;
//	private int isuse;

//	public List<Dorm> getDormList(ResultSet rs)
//	{
//		List<Dorm> list=new ArrayList<Dorm>();
//		try
//		{
//			while (rs.next())
//			{
//				Dorm dorm=new Dorm();
//				dorm.setNumber(rs.getString(1));
//				dorm.setD_sex(rs.getString(2));
//			}
//		}
//		catch (SQLException e)
//		{
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
//		return null;
//	}
	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}
	public String getNumber()
	{
		return number;
	}

	public void setNumber(String number)
	{
		this.number = number;
	}

	public String getD_sex()
	{
		return d_sex;
	}

	public void setD_sex(String d_sex)
	{
		this.d_sex = d_sex;
	}

	public int getStandard()
	{
		return standard;
	}

	public void setStandard(int standard)
	{
		this.standard = standard;
	}

	public String getRemark()
	{
		return remark;
	}

	public void setRemark(String remark)
	{
		this.remark = remark;
	}

//	public int getIsuse()
//	{
//		return isuse;
//	}
//
//	public void setIsuse(int isuse)
//	{
//		this.isuse = isuse;
//	}
}
